'use strict';

const conn = require('../../../libs/Conn');

module.exports = async function (updateParams) {

    let delObj = {
        delete_sign: 2,
    };
    let updateSql = `UPDATE user_group  SET ? WHERE group_id in (?)`;
    await conn(updateSql, [delObj, updateParams.ids]);
    return {success: true};
};